/**
 * Project Name:YCApiServer-admin
 * File Name:LyricsMapper.java
 * Package Name:com.yc.music.admin.dao
 * Date:2016年6月1日下午1:11:37
 * Copyright (c) 2016 
 *
 */
package com.yc.music.mapper.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yc.music.model.lyricstemplate.LyricsTemplate;


/**
 * ClassName: LyricsTemplateMapper <br/>
 * Function: 作词模板. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 *
 * @author qinhaiguan
 * @version 
 */
public interface LyricsTemplateMapper {

	public List<LyricsTemplate> getLyricsTemplatePage(@Param("start") int start,@Param("size") int size);
	
	public int  getLyricsTemplateCount(@Param("key") String key);
	
	public void saveLyricsTemplate(LyricsTemplate lyricsTemplate) throws Exception;
	
	public LyricsTemplate getLyricsTemplateById(@Param("id") int id);
	
	public void updateLyricsTemplate(LyricsTemplate lyricsTemplate) throws Exception;
	
	public void deleteLyricsTemplate(@Param("id") int id);
	
}
